package operation;

import book.Book;
import book.BookList;

public class ShowOperation implements IOperation{
    @Override
    public void work(BookList book) {
        int size = book.getUsedSize();

        for(int i = 0; i < size; i++){
            Book b = book.getBooks(i);
            System.out.println(b.toString());
        }
    }
}
